package com.gcit.seniorWish.web.modular.examinee.warpper;

import com.gcit.seniorWish.web.common.constant.factory.ConstantFactory;
import com.gcit.seniorWish.core.base.warpper.BaseControllerWarpper;

import java.util.List;
import java.util.Map;

/**
 * 考生填报的包装类
 *
 * @author tonglu
 */
public class SeniorWishWarpper extends BaseControllerWarpper {

	public SeniorWishWarpper(List<Map<String, Object>> list) {
		super(list);
	}

	@Override
	public void warpTheMap(Map<String, Object> map) {
		map.put("write_status",
				ConstantFactory.me().getDictByCodeAndValue("write_status", map.get("write_status")+"").getName());
		map.put("confirm_status",
				ConstantFactory.me().getDictByCodeAndValue("confirm_status",map.get("confirm_status")+"").getName());
	}
}
